Mapper CRUDRepo
open class MapperCRUDRepo<FromId, FromRegistered, FromInput, ToId, ToRegistered, ToInput>( to: CRUDRepo<ToRegistered, ToId, ToInput>, mapper: MapperRepo<FromId, FromRegistered, ToId, ToRegistered>, inputMapper: SimpleSuspendableMapper<FromInput, ToInput>) : CRUDRepo<FromRegistered, FromId, FromInput> , MapperRepo<FromId, FromRegistered, ToId, ToRegistered> , ReadCRUDRepo<FromRegistered, FromId> , WriteCRUDRepo<FromRegistered, FromId, FromInput>
Content copied to clipboard
Constructors
Link copied to clipboard
fun <FromId, FromRegistered, FromInput, ToId, ToRegistered, ToInput> MapperCRUDRepo( to: CRUDRepo<ToRegistered, ToId, ToInput>, mapper: MapperRepo<FromId, FromRegistered, ToId, ToRegistered>, inputMapper: SimpleSuspendableMapper<FromInput, ToInput>)
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun getByPagination(pagination: Pagination): PaginationResult<FromRegistered>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun update(values: List<UpdatedValuePair<FromId, FromInput>>): List<FromRegistered>
Content copied to clipboard
open suspend override fun update(id: FromId, value: FromInput): FromRegistered?
Content copied to clipboard
Properties
Link copied to clipboard
open override val valueMapper: SimpleSuspendableMapper<FromRegistered, ToRegistered>
Content copied to clipboard